package com.xxh.dataaccess.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Comment)表实体类
 *
 * @author makejava
 * @since 2021-02-09 17:33:01
 */
@SuppressWarnings("serial")
@Data
public class Comment{

    //主键ID
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    //评论的内容
    private String content;
    //回复的评论ID
    private Long parentId;
    //评论视频ID
    private String videoId;
    //评论的用户ID
    private Long userId;
    //被评论用户ID
    private Long touserId;
    //“顶”的数量
    private Integer voteUp=0;
    //“踩”的数量
    private Integer voteDown=0;
    //置顶等级
    private Integer level=0;
    //评论的状态
    private Integer status;
    //评论的时间
    private Date created;
    //评论的更新时间
    private Date modified;

}
